Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: implement Erase for a range #4106

Merged
merged 1 commit into from
Nov 10, 2024
Merged

chore: implement Erase for a range #4106

merged 1 commit into from
Nov 10, 2024

Conversation

romange
Copy link
Collaborator

@romange romange commented Nov 10, 2024

Also migrate unit tests from valkey repo.

@romange romange requested a review from BorysTheDev November 10, 2024 13:38
@romange romange force-pushed the QL1 branch 3 times, most recently from 60fd4bc to 3477131 Compare November 10, 2024 15:54
Also migrate more unit tests from valkey repo.
Finally, fix OpTrim

All tests `list_family_test --list_experimental_v2` pass.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

chore: implement OpTrim with QList
it_res->post_updater.Run();

if (quicklistCount(ql) == 0) {
if (it->second.Size() == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty will be better

@romange romange enabled auto-merge (squash) November 10, 2024 16:28
@romange romange merged commit 9b7af7d into main Nov 10, 2024
12 checks passed
@romange romange deleted the QL1 branch November 10, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants